package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 卡钱包子账户
 */
public class SubaccountPersonal implements Serializable {

	/** 子帐号 */
    private String subaccountNo;

    /** 主帐户号 */
    private String mainaccountNo;

    /** 卡内号 */
    private String crdNo;

    /** 户名 */
    private String accountName;

    /** 客户编号 */
    private String customerNo;

    /** 卡片序列号 */
    private String cardSeqNo;

    /** 市民卡号 */
    private String citizenCardNo;

    /** 卡面余额 */
    private BigDecimal crdBalance;

    /** 账面余额 */
    private BigDecimal totalBalance;

    /** 帐户类型- 钱包类型 */
    private String acType;

    /** 积数 */
    private Integer productNumber;

    /** 消费积分 */
    private Integer sumJe;

    /** 密码标志 */
    private String passwordStatus;

    /** 账户密码 */
    private String accountPw;

    /** 输错次数 */
    private Short errorDegree;

    /** 挂失标志 */
    private String lossStatus;

    /** 挂失日期 */
    private Date lossDate;

    /** 冻结标志 */
    private String freezeStatus;

    /** 冻结日期 */
    private Date freezeDate;

    /** 冻结金额 */
    private BigDecimal freezeAmount;

    /** 开户网点编号 */
    private String accoBranchNo;

    /** 开户柜员号 */
    private String accoTellerNo;

    /** 开户日期 */
    private Date accoDate;

    /** 销户柜员号 */
    private String clsTellerNo;

    /** 销户日期 */
    private Date clsDate;

    /** 有效期 */
    private Date validDate;

    /** 帐号状态 */
    private String accountStatus;

    /** 帐户标识 */
    private String accountSign;

    /** 备注 */
    private String remark;

    /** 城市代码 */
    private String cityCode;

    /** 当前计数器值 */
    private Integer currCount;

    /** 最大计数器值 */
    private Integer maxCount;

    /** 累计圈存笔数 */
    private Integer totalExchangeCnt;

    /** 累计圈存金额 */
    private BigDecimal totalExchangeAmt;

    /** 累计充值笔数 */
    private Integer totalReloadCnt;

    /** 累计充值金额 */
    private BigDecimal totalReloadAmt;

    /** 累计消费笔数 */
    private Integer totalConsumeCnt;

    /** 累计消费金额 */
    private BigDecimal totalConsumeAmt;

    /** 最后交易流水号 */
    private String lastTransNo;

    /** 最后交易日 */
    private Date lastTransDate;

    /** 联机交易计数器 */
    private Integer onlCurrCount;

    /** 最后联机交易时间 */
    private Date onlTxnDt;

    /** 入账截止状态 */
    private String inaccEndStatus;

    /** 入账截止日期 */
    private Date inaccEndDate;
    
   //新增属性=============================================== 
    
    /** 应用类型定义表中的应用类型标识 */
    private String appFlag;
    
    

	public String getAppFlag() {
		return appFlag;
	}

	public void setAppFlag(String appFlag) {
		this.appFlag = appFlag;
	}

	public String getSubaccountNo() {
        return subaccountNo;
    }

    public void setSubaccountNo(String subaccountNo) {
        this.subaccountNo = subaccountNo == null ? null : subaccountNo.trim();
    }

    public String getMainaccountNo() {
        return mainaccountNo;
    }

    public void setMainaccountNo(String mainaccountNo) {
        this.mainaccountNo = mainaccountNo == null ? null : mainaccountNo.trim();
    }

    public String getCrdNo() {
        return crdNo;
    }

    public void setCrdNo(String crdNo) {
        this.crdNo = crdNo == null ? null : crdNo.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName == null ? null : accountName.trim();
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }

    public String getCardSeqNo() {
        return cardSeqNo;
    }

    public void setCardSeqNo(String cardSeqNo) {
        this.cardSeqNo = cardSeqNo == null ? null : cardSeqNo.trim();
    }

    public String getCitizenCardNo() {
        return citizenCardNo;
    }

    public void setCitizenCardNo(String citizenCardNo) {
        this.citizenCardNo = citizenCardNo == null ? null : citizenCardNo.trim();
    }

    public BigDecimal getCrdBalance() {
        return crdBalance;
    }

    public void setCrdBalance(BigDecimal crdBalance) {
        this.crdBalance = crdBalance;
    }

    public BigDecimal getTotalBalance() {
        return totalBalance;
    }

    public void setTotalBalance(BigDecimal totalBalance) {
        this.totalBalance = totalBalance;
    }

    public String getAcType() {
        return acType;
    }

    public void setAcType(String acType) {
        this.acType = acType == null ? null : acType.trim();
    }

    public Integer getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(Integer productNumber) {
        this.productNumber = productNumber;
    }

    public Integer getSumJe() {
        return sumJe;
    }

    public void setSumJe(Integer sumJe) {
        this.sumJe = sumJe;
    }

    public String getPasswordStatus() {
        return passwordStatus;
    }

    public void setPasswordStatus(String passwordStatus) {
        this.passwordStatus = passwordStatus == null ? null : passwordStatus.trim();
    }

    public String getAccountPw() {
        return accountPw;
    }

    public void setAccountPw(String accountPw) {
        this.accountPw = accountPw == null ? null : accountPw.trim();
    }

    public Short getErrorDegree() {
        return errorDegree;
    }

    public void setErrorDegree(Short errorDegree) {
        this.errorDegree = errorDegree;
    }

    public String getLossStatus() {
        return lossStatus;
    }

    public void setLossStatus(String lossStatus) {
        this.lossStatus = lossStatus == null ? null : lossStatus.trim();
    }

    public Date getLossDate() {
        return lossDate;
    }

    public void setLossDate(Date lossDate) {
        this.lossDate = lossDate;
    }

    public String getFreezeStatus() {
        return freezeStatus;
    }

    public void setFreezeStatus(String freezeStatus) {
        this.freezeStatus = freezeStatus == null ? null : freezeStatus.trim();
    }

    public Date getFreezeDate() {
        return freezeDate;
    }

    public void setFreezeDate(Date freezeDate) {
        this.freezeDate = freezeDate;
    }

    public BigDecimal getFreezeAmount() {
        return freezeAmount;
    }

    public void setFreezeAmount(BigDecimal freezeAmount) {
        this.freezeAmount = freezeAmount;
    }

    public String getAccoBranchNo() {
        return accoBranchNo;
    }

    public void setAccoBranchNo(String accoBranchNo) {
        this.accoBranchNo = accoBranchNo == null ? null : accoBranchNo.trim();
    }

    public String getAccoTellerNo() {
        return accoTellerNo;
    }

    public void setAccoTellerNo(String accoTellerNo) {
        this.accoTellerNo = accoTellerNo == null ? null : accoTellerNo.trim();
    }

    public Date getAccoDate() {
        return accoDate;
    }

    public void setAccoDate(Date accoDate) {
        this.accoDate = accoDate;
    }

    public String getClsTellerNo() {
        return clsTellerNo;
    }

    public void setClsTellerNo(String clsTellerNo) {
        this.clsTellerNo = clsTellerNo == null ? null : clsTellerNo.trim();
    }

    public Date getClsDate() {
        return clsDate;
    }

    public void setClsDate(Date clsDate) {
        this.clsDate = clsDate;
    }

    public Date getValidDate() {
        return validDate;
    }

    public void setValidDate(Date validDate) {
        this.validDate = validDate;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus == null ? null : accountStatus.trim();
    }

    public String getAccountSign() {
        return accountSign;
    }

    public void setAccountSign(String accountSign) {
        this.accountSign = accountSign == null ? null : accountSign.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    public Integer getCurrCount() {
        return currCount;
    }

    public void setCurrCount(Integer currCount) {
        this.currCount = currCount;
    }

    public Integer getMaxCount() {
        return maxCount;
    }

    public void setMaxCount(Integer maxCount) {
        this.maxCount = maxCount;
    }

    public Integer getTotalExchangeCnt() {
        return totalExchangeCnt;
    }

    public void setTotalExchangeCnt(Integer totalExchangeCnt) {
        this.totalExchangeCnt = totalExchangeCnt;
    }

    public BigDecimal getTotalExchangeAmt() {
        return totalExchangeAmt;
    }

    public void setTotalExchangeAmt(BigDecimal totalExchangeAmt) {
        this.totalExchangeAmt = totalExchangeAmt;
    }

    public Integer getTotalReloadCnt() {
        return totalReloadCnt;
    }

    public void setTotalReloadCnt(Integer totalReloadCnt) {
        this.totalReloadCnt = totalReloadCnt;
    }

    public BigDecimal getTotalReloadAmt() {
        return totalReloadAmt;
    }

    public void setTotalReloadAmt(BigDecimal totalReloadAmt) {
        this.totalReloadAmt = totalReloadAmt;
    }

    public Integer getTotalConsumeCnt() {
        return totalConsumeCnt;
    }

    public void setTotalConsumeCnt(Integer totalConsumeCnt) {
        this.totalConsumeCnt = totalConsumeCnt;
    }

    public BigDecimal getTotalConsumeAmt() {
        return totalConsumeAmt;
    }

    public void setTotalConsumeAmt(BigDecimal totalConsumeAmt) {
        this.totalConsumeAmt = totalConsumeAmt;
    }

    public String getLastTransNo() {
        return lastTransNo;
    }

    public void setLastTransNo(String lastTransNo) {
        this.lastTransNo = lastTransNo == null ? null : lastTransNo.trim();
    }

    public Date getLastTransDate() {
        return lastTransDate;
    }

    public void setLastTransDate(Date lastTransDate) {
        this.lastTransDate = lastTransDate;
    }

    public Integer getOnlCurrCount() {
        return onlCurrCount;
    }

    public void setOnlCurrCount(Integer onlCurrCount) {
        this.onlCurrCount = onlCurrCount;
    }

    public Date getOnlTxnDt() {
        return onlTxnDt;
    }

    public void setOnlTxnDt(Date onlTxnDt) {
        this.onlTxnDt = onlTxnDt;
    }

    public String getInaccEndStatus() {
        return inaccEndStatus;
    }

    public void setInaccEndStatus(String inaccEndStatus) {
        this.inaccEndStatus = inaccEndStatus == null ? null : inaccEndStatus.trim();
    }

    public Date getInaccEndDate() {
        return inaccEndDate;
    }

    public void setInaccEndDate(Date inaccEndDate) {
        this.inaccEndDate = inaccEndDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", subaccountNo=").append(subaccountNo);
        sb.append(", mainaccountNo=").append(mainaccountNo);
        sb.append(", crdNo=").append(crdNo);
        sb.append(", accountName=").append(accountName);
        sb.append(", customerNo=").append(customerNo);
        sb.append(", cardSeqNo=").append(cardSeqNo);
        sb.append(", citizenCardNo=").append(citizenCardNo);
        sb.append(", crdBalance=").append(crdBalance);
        sb.append(", totalBalance=").append(totalBalance);
        sb.append(", acType=").append(acType);
        sb.append(", productNumber=").append(productNumber);
        sb.append(", sumJe=").append(sumJe);
        sb.append(", passwordStatus=").append(passwordStatus);
        sb.append(", accountPw=").append(accountPw);
        sb.append(", errorDegree=").append(errorDegree);
        sb.append(", lossStatus=").append(lossStatus);
        sb.append(", lossDate=").append(lossDate);
        sb.append(", freezeStatus=").append(freezeStatus);
        sb.append(", freezeDate=").append(freezeDate);
        sb.append(", freezeAmount=").append(freezeAmount);
        sb.append(", accoBranchNo=").append(accoBranchNo);
        sb.append(", accoTellerNo=").append(accoTellerNo);
        sb.append(", accoDate=").append(accoDate);
        sb.append(", clsTellerNo=").append(clsTellerNo);
        sb.append(", clsDate=").append(clsDate);
        sb.append(", validDate=").append(validDate);
        sb.append(", accountStatus=").append(accountStatus);
        sb.append(", accountSign=").append(accountSign);
        sb.append(", remark=").append(remark);
        sb.append(", cityCode=").append(cityCode);
        sb.append(", currCount=").append(currCount);
        sb.append(", maxCount=").append(maxCount);
        sb.append(", totalExchangeCnt=").append(totalExchangeCnt);
        sb.append(", totalExchangeAmt=").append(totalExchangeAmt);
        sb.append(", totalReloadCnt=").append(totalReloadCnt);
        sb.append(", totalReloadAmt=").append(totalReloadAmt);
        sb.append(", totalConsumeCnt=").append(totalConsumeCnt);
        sb.append(", totalConsumeAmt=").append(totalConsumeAmt);
        sb.append(", lastTransNo=").append(lastTransNo);
        sb.append(", lastTransDate=").append(lastTransDate);
        sb.append(", onlCurrCount=").append(onlCurrCount);
        sb.append(", onlTxnDt=").append(onlTxnDt);
        sb.append(", inaccEndStatus=").append(inaccEndStatus);
        sb.append(", inaccEndDate=").append(inaccEndDate);
        sb.append("]");
        return sb.toString();
    }
}